package hn.sigit.logic.workflow.transaction;

import hn.sigit.logic.general.ResourceBundleHelper;
import hn.sigit.model.commons.ISpatialZone;
import hn.sigit.model.hnd.ladmshadow.Parcel;
import hn.sigit.model.hnd.ladmshadow.Property;

import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remove;
import javax.faces.model.SelectItem;

import org.jboss.seam.annotations.Destroy;

@Local
public interface DataEntryHelper {
	String NAME = "dataEntryHelper";
	

	long getPresentationId();

	ISpatialZone getSelectedZone();

	Double getEnvelopeLeft();

	Double getEnvelopeBottom();

	Double getEnvelopeRight();

	Double getEnvelopeTop();

	TransactionHelper getTransactionHelper();

	ResourceBundleHelper getResBundle();

	String getRequestedParcelsGML();

	String getNeighborParcelsGML();

	List<SelectItem> getSiRequestedParcels();

	List<Property> getRequestedProperties();

	void setRequestedProperties(List<Property> requestedProperties);

	List<Property> getNeighborProperties();

	void setNeighborProperties(List<Property> neighborProperties);

	List<Parcel> getRequestedParcels();

	void setRequestedParcels(List<Parcel> requestedParcels);

	List<Parcel> getNeighborParcels();

	void setNeighborParcels(List<Parcel> neighborParcels);

	boolean isCanMutateRRR();

	boolean isCanSplit();

	boolean isCanMerge();

	boolean isCanEditData();

	@Destroy @Remove
	void destroy();
}
